package com.hc.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName Paper
 * @Description 文章表
 * @Author shanshan
 * @Date 2022/10/18 19:32
 * @Version 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties("handler")
public class Paper {
    private Integer id;
    private String title;
    private String vaddress; //视频地址
    private String iaddress; //图片地址
    private String text; //文本内容
    private int likenum; //点赞数
    private int unlikenum; //踩数
    private User user; //作者类
    private Goods goods;//商品链接
    private Area area; //分区类
    private Integer discount;//评论数
    private List<Comment> comments;
    private String status;

}